<?php

class module_u_tax extends a_base_module implements i_hook_pre_controller, i_hook_post_controller, i_hook_post_controller_constructor, i_hook_post_system, i_hook_base_controller_constructor {

    const TAX_ITEMS = 'items';
    const TAX_SHIPPING = 'shipping';

    public function __construct($basic_info) {
        parent::__construct($basic_info);
    }

    public function exe_pre_controller() {
        Module_Extended::load_helper("tax_helper","tax" );
        $tax_service = new service_l_tax();
        $this->smarty()->assign("tax_classes", $tax_service->get_tax_classes());
    }

    public function exe_post_controller() {

    }

    public function exe_post_controller_constructor() {

    }

    public function exe_post_system() {
        // trace();
    }

    public function exe_base_controller_constructor() {

    }

}

?>